/**The MIT License (MIT) Copyright (c) 2018 yangxiaobing*/

body {
    width: 100%;
    height: 100%;
    font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,"\5FAE\8F6F\96C5\9ED1",Arial,sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: #515a6e;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
    margin: 0;
    padding: 0;

}

.login-bg {
    width: 100%;
    height: 100%;
    background: url(../../static/img/login-bg.jpg) fixed;
    background-size: cover;
    position: relative;
}

.login-content {
    position: absolute;
    right: 160px;
    top: 50%;
    width: 300px;
    margin: -150px 0 0 -150px;

}

.login-card {
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    position: relative;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.login-card-head{
    border-bottom: 1px solid #e8eaec;
    padding: 14px 16px;
    line-height: 1;
}

.login-card-head p {
    display: inline-block;
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-size: 17px;
    color: #17233d;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}
.login-card-body{
    padding: 16px;
}
.login-form-content {
    padding: 10px 0 0;
}
.login-form .layui-form-item {
    position: relative;
    display: block;
    height: 32px;
    margin-bottom: 20px;
}

.login-form .login-label {
    display: block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    z-index: 1;
    left: 6px;
    top: 10px;
    opacity: .5;
}
.login-form .login-label i.layui-icon {
    line-height: 20px;
    vertical-align: top;
}
.layui-input{
    font-size: 12px;
    background: #FFFFFF;
    color: #515a6e;
    border: 1px solid #dcdee2;

}
.layui-input:hover{
    border-color: #57a3f3 !important;
}

.login-form input[type="text"], .login-form input[type="password"] {
    margin-top: -2px;
    left: 0;
    padding-left: 32px;
    box-shadow: none;
}
.login-form .login-code input {
    width: 65%;
}

.login-form .login-code .code {
    display: inline-block;
    width: 35%;
    height: 100%;
    box-sizing: border-box;
    position: absolute;
    top: 0px;
    right: 0px;
}


.code-img {
    width: 100%;
    height: 38px;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
}
.code-img img {
    display: block;
    width: 100%;
    height: 100%;
}


.login_btn {
    color: #fff;
    background-color: #2d8cf0;
    border-color: #2d8cf0;
    border-radius: 4px;
    width: 100%;
    line-height: 1.5 !important;
    height: 34px !important;
    font-size: 12px;
}

.login_btn:hover {
    color: #fff;
    background-color: #57a3f3;
    border-color: #57a3f3;
}
.login-tip {
    font-size: 12px;
    text-align: center;
    color: #c3c3c3;
}
@media screen and (max-width:750px){
    .login-content {
        position: absolute;
        left: 50%;
        top: 50%;
        margin: -150px 0 0 -150px;

    }
}